package entity.zhujie.lianxi.test.demo05.user;

import entity.zhujie.lianxi.test.demo05.BuRunAnimal;
import entity.zhujie.lianxi.test.demo05.zhujie.JIanKang;

/*
* 狮子
* */
public class Lion extends BuRunAnimal {
    @JIanKang("不健康")
    @Override
    public void eat() {
        super.eat();
        System.out.println("吃肉");
    }

    @Override
    public void sleep() {
        super.sleep();
        System.out.println("狮子趴着睡");
    }
}
